Open topic with navigation
The most recent version of this documentation can be found at https://docs.dyalog.com/20.0/.
Y may be any numeric array. R is numeric composed of the absolute (unsigned) values of Y.
Note that the magnitude of a complex number (a+ib) is defined to be (a2+b2)0.5.
(a2+b2)0.5
|2 ¯3.4 0 ¯2.7 2 3.4 0 2.7 |3j4 5
⎕IO is an implicit argument of magnitude.